<?php

include 'wiki_log_controller.php';

if ($_GET['action'] == "find") {
    $json = $HTTP_RAW_POST_DATA;
    if ($json != NULL) {
        echo find($json);
    } else {
        echo 'Invalid Request';
    }
} else {
    echo 'Action not defined!';
}
?>